Test1 – Check Datums

gda_test3 Test

This test reads a file of lat.long values and transforms then to E/N, then transforms them to a different datum, then back to lat/log and compares the results to some known values. If they are different, an error is printed. The .csv file contains 1506 ponts to be tested, scattered across Australia.

Procedure
1. Open job agd66_datum_test.acs, it doesn't matter what job is opened as no data in the job is used or changed.
Check that the Job Settings Username is 'Testing', if not, save job and reopen.
Check that the 'Test' menu is displayed to the right of 'Help'

2. Open option Test/test1 Check datums
Select the Pts file 'AGD66_GDA94_test_data.csv'
Select Conv File 'A66 National (13.09.01).gsb'
Set Input datum to any AGD66 datum
Set Output datum to any GDA94 datum
Press Check File

The .csv file contains a set of lat/longitude points in both
AGD66 and GDA94
The test read an AGD lat/long point and transforms it using the .gsb file
to GDA94 lat long, and then compares the result to the expected GDA94 value.

The program
Reads an input(ll) and output point(res)
derives the input_zone from ll
derives the output_zone from res
selects input datum(AGD66) and input_zone
converts ll to E/N
Applies grid corrections using 'A66 National (13.09.01).gsb' = E1/N1
selects output datum(GDA94) and output_zone
converts E1/N1 to lat/logitude (nres)
compares nres to expected results 'res'
displays any errors

It repeats this procedure for each of the 1506 points.

Expected Results
*** Point at line 10 outside corrn grid, ignored
*** Point at line 11 outside corrn grid, ignored
*** Point at line 12 outside corrn grid, ignored
*** Point at line 13 outside corrn grid, ignored
*** Point at line 14 outside corrn grid, ignored
*** Point at line 15 outside corrn grid, ignored
*** Point at line 16 outside corrn grid, ignored
*** Point at line 17 outside corrn grid, ignored
*** Point at line 18 outside corrn grid, ignored
*** Point at line 19 outside corrn grid, ignored
1506 points processed
1496 points OK
0 Errors